home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 March / Gamestar_71_2005-03_dvd.iso / Dema / willofsteel_demo.exe / {app} / Data / Shaders / Sprite00.fx < prev    next >
Text File  |  2004-10-23  |  1KB  |  65 lines

  1. texture DiffuseTexture;
  2.  
  3. technique Technique0
  4. {
  5.     pass Pass0
  6.     {
  7.         Texture[0]            = (DiffuseTexture);
  8.  
  9.         ColorOp[0]            = SELECTARG1;
  10.         ColorArg1[0]        = TEXTURE;
  11.         ColorOp[1]            = DISABLE;
  12.         AlphaOp[0]            = SELECTARG1;
  13.         AlphaArg1[0]        = TEXTURE;
  14.         AlphaOp[1]            = DISABLE;
  15.  
  16.         VertexShader = NULL;
  17.         PixelShader = NULL;
  18.     }
  19. }
  20.  
  21. technique Technique1
  22. {
  23.     pass Pass0
  24.     {
  25.         Texture[0]            = (DiffuseTexture);
  26.  
  27.         ColorOp[0]            = SELECTARG1;
  28.         ColorArg1[0]        = DIFFUSE;
  29.         ColorOp[1]            = DISABLE;
  30.         AlphaOp[0]            = SELECTARG1;
  31.         AlphaArg1[0]        = DIFFUSE;
  32.         AlphaOp[1]            = DISABLE;
  33.  
  34.         VertexShader = NULL;
  35.         PixelShader = NULL;
  36.     }
  37. }
  38.  
  39. technique Technique2
  40. {
  41.     pass Pass0
  42.     {
  43.         VertexShader = null;
  44.         PixelShader = null;
  45.     }
  46. }
  47.  
  48. technique Technique4
  49. {
  50.     pass Pass0
  51.     {
  52.         Texture[0]            = (DiffuseTexture);
  53.  
  54.         ColorOp[0]            = SELECTARG1;
  55.         ColorArg1[0]        = TEXTURE;
  56.         ColorOp[1]            = DISABLE;
  57.         AlphaOp[0]            = SELECTARG1;
  58.         AlphaArg1[0]        = TEXTURE;
  59.         AlphaOp[1]            = DISABLE;
  60.  
  61.         VertexShader = NULL;
  62.         PixelShader = NULL;
  63.     }
  64. }
  65.